const publishingHouseManage = resolve =>
    require(['common/src/views/textBook/publishingHouse/publishingHouseManage'], resolve);
const textbookType = resolve =>
    require(['common/src/views/textBook/textbookType/textbookType'], resolve);
const permissionsManage = resolve =>
    require(['common/src/views/textBook/permissions/permissionsManage'], resolve);
const textBookManage = resolve =>
    require(['common/src/views/textBook/textBookInfo/textBookManage'], resolve);
const trainingInfoManage = resolve =>
  require(['common/src/views/textBook/trainingInfo/trainingInfoManage'], resolve);
const marxistEngineering = resolve =>
  require(['common/src/views/textBook/marxistEngineering/marxistEngineering'], resolve)
const teachingTextBook = resolve =>
  require(['common/src/views/textBook/teachingTextBook/teachingTextBook'], resolve);
const commitment = resolve =>
  require(['common/src/views/textBook/commitment/commitment'], resolve);
const auditReport = resolve =>
  require(['common/src/views/textBook/auditReport/auditReport'], resolve);
const textbookCheck = resolve =>
  require(['common/src/views/textBook/textbookCheck/textbookCheck'], resolve);
const textbookCorrection = resolve =>
  require(['common/src/views/textBook/textbookCorrection/textbookCorrection'], resolve);
const textbookStatistics = resolve =>
  require(['common/src/views/textBook/textbookStatistics/textbookStatistics'], resolve);
const textbookAssign = resolve =>
  require(['common/src/views/textBook/textbookAssign/textbookAssign'], resolve);
const layout = resolve => require(['common/src/views/layout'], resolve);

const textBook = {
    path: '/textBook',
    name: 'textBook',
    component: layout,
    children: [{
        path: '/publishingHouseManage',
        name: 'publishingHouseManage',
        component: publishingHouseManage
    },
    {
        path: '/textbookType',
        name: 'textbookType',
        component: textbookType
    },
    // 权限管理 path
    {
        path: '/permissionsManage',
        name: 'permissionsManage',
        component: permissionsManage
    },
    {
      path: '/textBookManage',
      name: 'textBookManage',
      component: textBookManage
    },
      // 培训信息管理 path
      {
        path: '/trainingInfoManage',
        name: 'trainingInfoManage',
        component: trainingInfoManage
      },
      //马工程教材目录 path
      {
        path: '/marxistEngineering',
        name: 'marxistEngineering',
        component: marxistEngineering
      },
      {
        path: '/teachingTextBook',
        name: 'teachingTextBook',
        component: teachingTextBook
      },
      //承诺书材料管理 path
      {
        path: '/commitment',
        name: 'commitment',
        component: commitment
      },
      //教材审核报告 path
      {
        path: '/auditReport',
        name: 'auditReport',
        component: auditReport
      },
      // 教材建设考核 path
      {
        path: '/textbookCheck',
        name: 'textbookCheck',
        component: textbookCheck
    },
    // 教材抽查整改 path
    {
      path: '/textbookCorrection',
      name: 'textbookCorrection',
      component: textbookCorrection
    },
    //教材情况统计
    {
      path: '/textbookStatistics',
      name: 'textbookStatistics',
      component: textbookStatistics
    },
     //教材情况统计
     {
      path: '/textbookAssign',
      name: 'textbookAssign',
      component: textbookAssign
    }
    ]
};

export default textBook;
